<html>
<body>
<p>Reports methods with empty parameter clause that override Java accessor methods.</p>

<p>Methods that follow the <a href="https://en.wikipedia.org/wiki/JavaBean">JavaBean</a> naming contract for accessors are
    expected to have no <a href="https://en.wikipedia.org/wiki/Side_effect_(computer_science)">side effects</a>.
    The recommended convention is to use a parameterless method whenever there are
    no parameters and the method have no side effect.
    This convention promotes the <a href="https://en.wikipedia.org/wiki/Uniform_access_principle">uniform access principle</a>,
    which says that the client code should not be affected by the decision to implement an attribute as a field or method.</p>

<p>The problem is that Java does not implement the uniform access principle
    and doesn't allow methods without parameter clauses.
    To bridge that gap, Scala allows you to override methods with empty parameter clauses with
    methods without parameter clauses.</p>

<p>The quick-fix removes the empty parameter clause.</p>

<p><b>Example:</b></p>
<pre><code>
  class TestException extends Exception {
    override def getMessage(): String = ???
  }
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  class TestException extends Exception {
    override def getMessage: String = ???
  }
</code></pre>
<!-- tooltip end -->
</body>
</html>